@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>搜索设备</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="hidden-xs" id="DoorInfoTableToolbar" role="group">
                            <#button name="搜索" icon="fa-search" clickFun="Device.search()"/>
                            <#button name="修改IP" icon="fa-edit" btnCss="info" clickFun="Device.openDeviceDetail()" space="true"/>
                            @if(shiro.hasPermission("/door/EQUIPMENT/INFO/add")){
                            <#button name="添加" icon="fa-plus" clickFun="Device.openAddEquipmentInfo()"  space="true"/>
                            @}
                        </div>
                        <#table id="DeviceTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/door/device/device.js"></script>
@}
